<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/9/22
  Time: 10:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <style>
        .form_display {
            position: absolute;
            top: 220px;
            left: 300px;
            background-color: cadetblue;
            width: 300px;
            height: 300px;
        }

        .input_text {
            position: absolute;
            right: 0px;
        }

        .button_display {
            position: absolute;
            left: 140px;
            bottom: 100px;
        }

        .cookie_info {
            position: absolute;
            bottom: 30px;
        }
    </style>
</head>
<body>
<%
  application.getAttribute("name");
%>
<div>
    <span>this is display.jsp</span> <br><br>
    <span>修改界面</span> <br><br>

</div>
<div class="form_display">
    <form action="display" method="post">
        <span>name</span> <input type="text" value="${sessionScope.name}" name="name_change" class="input_text">
        <br><br>
        <span>password</span> <input type="password" value="${sessionScope.password}" name="password_change"
                                     class="input_text"> <br><br>
        <button type="submit" class="button_display">确定</button>
        <a href="cookieinfo.jsp" class="cookie_info">跳转cookie查询界面</a>
    </form>
</div>

</body>
</html>
